package com.example.testdbsearchform;

public class Category {

	private long id;
	private String name;
	
	
	
	public long getId() {
		return id;
	}
	
	public void setId(long id) {
		this.id = id;
	}
	
	public Category() {
		super();
	}
	
	public Category(long id, String name) {
		super();
		this.id = id;
		this.name = name;
	}

	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}

  // Will be used by the ArrayAdapter in the ListView
  @Override
  public String toString() {
    return name;
  }
}
